package me.muci.factoryPattern.factoryMethodPattern;

/**
 * ClassName: Operation <br/>
 * Description: <br/>
 * date: 2021/8/4 11:25<br/>
 *
 * @author muci<br />
 * @description
 * @since JDK 1.8
 */
public abstract class Operation {
    private double value1 = 0.0d;
    private double value2 = 0.0d;

    public double getValue1() {
        return value1;
    }

    public void setValue1(double value1) {
        this.value1 = value1;
    }

    public double getValue2() {
        return value2;
    }

    public void setValue2(double value2) {
        this.value2 = value2;
    }

    protected abstract double getResults();
}
